//
//  BUScrollAnimationView.h
//  BUBU3D
//
//  Created by lichentao on 14-7-13.
//  Copyright (c) 2014年 chentaoApp. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "BPRootViewController.h"
#import "HomePageModel.h"

typedef void(^BUAnimationBlock)(DmModel *dmItem,UIImageView *imgView,NSMutableArray *arrayImg);

@interface BUScrollAnimationView : BPRootViewController<UIScrollViewDelegate>{
    NSTimer         *_timer;
    BOOL            isAutoPaging;
    UIScrollView    *scrollview;
    UIPageControl  *pageCtr;

    UIView          *headView;
    UILabel         *titleLabel;
    
    NSMutableArray *imgViewsArray;
}

@property (nonatomic, strong) NSMutableArray *dmImgArray;
@property (nonatomic, strong) BUAnimationBlock animationBlock;

- (void)startAnimationWihtImgArray:(NSMutableArray *)inputArray BUAnimationBlock:(BUAnimationBlock)animationBlock;


@end
